package com.lhb.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author LiangHaiBo
 * @version 1.0
 * @date 2021.10.9 下午 18:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course {

    private Integer id;
    private String courseName;
    private String coursePic;
    private String courseDescription;
    private Integer courseTeacher;
    private String users;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm", timezone = "GMT+8")
    private Date updateTime;
    private Double pay;
}
